package com.xiaohui.sku;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;

import javax.swing.*;


@SpringBootApplication
@ComponentScan(value = "com.xiaohui")
@MapperScan(value = "com.xiaohui.*.dao")
@EnableCaching
@EnableHystrix
public class SkuApplication {
    public static void main(String[] args) {
        SpringApplication.run(SkuApplication.class);
    }
}
